<template>
	<view class="search">
		<view class="top">
			<input type="text" placeholder="想要,不妨来搜一搜">
			<button>搜索</button>
		</view>
		<view class="product-list">
			<!-- <Product v-for="(item, i) in 10" :key="i"></Product> -->
		</view>
	</view>
</template>

<script>
	import Product from '../../../components/product.vue'
	export default {
		components: {
			Product
		},
		data() {
			return {

			};
		},
		methods: {
			
		}
	}
</script>

<style>
	.search {
		width: 100%;
		min-height: 100%;
		background-color: #ededed;
		position: absolute;
		font-size: 24upx;
	}
	
	.search .top{
		width: 100%;
		padding: 20upx;
		background-color: #fff;
		display: flex;
	}

	.search input {
		width: 555upx;
		height: 66upx;
		background-color: #E6E6E6;
		border-radius: 33upx;
		padding-left: 20upx;
	}
	.search button {
		width:119upx;
		height:66upx;
		background-color:#4C4C4C;
		border-radius:33upx;
		line-height: 66upx;
		font-size: 24upx;
		color: #fff;
		border: 0;
	}
	.product-list {
		padding: 20upx 20upx;
	}
</style>
